-- equip
-- created by dengc
-- 装备属性

return {
    -- 学习技能
    apply = function(id, info)
        
    end,

    -- 二级界面描述
    desc = function(id, info)
        local temp = "";

        local props = info;
        if type(props[1]) ~= "table" then
            props = { props, };
        end

        for _, prop in pairs(props) do
            local propDesc = PropM.getPropDesc(prop);
            if propDesc ~= "" then
                -- 匹配掉颜色信息
                propDesc = string.gsub(propDesc, "%[.-%]", "");

                temp = spliceLocStr(temp, propDesc .. "\n");
            end
        end

        return temp;
    end,
};
